import React, { Component } from 'react'
import { Result, Button } from 'antd'
export default class index extends Component {
  render() {
    return (
      <div>
        <Result
          status="404"
          title="404"
          subTitle="Sorry, the page you visited does not exist."
          extra={
            <Button
              onClick={() => this.props.history.push('/home')}
              type="primary"
            >
              Back Home
            </Button>
          }
        />
        ,
      </div>
    )
  }
}
